#include "../mqserver/mq_connection.hpp"

int main()
{
    ns_kkymq::ConnectionManager::ptr cmp = std::make_shared<ns_kkymq::ConnectionManager>();

    cmp->newConnection(std::make_shared<ns_kkymq::VirtualHost>("host1", "./data/host1/message", "./data/host1/host1.db"),
        std::make_shared<ns_kkymq::ConsumerManager>(),
        ns_kkymq::ProtobufCodecPtr(),
        muduo::net::TcpConnectionPtr(), threadpool::ptr());
    return 0;
}